package com.homework.model;

public class Food {
	private String foodname;
	private double price;
	private int id;
	private int status;
	
	
	public Food() {
		super();
	}
	
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Food [foodname=" + foodname + ", price=" + price + ", id=" + id
				+ ", status=" + status + "]";
	}

	public Food(String foodname, double price) {
		super();
		this.foodname = foodname;
		this.price = price;
	}
	/**
	 * @return the foodname
	 */
	public String getFoodname() {
		return foodname;
	}
	/**
	 * @param foodname the foodname to set
	 */
	public void setFoodname(String foodname) {
		this.foodname = foodname;
	}
	/**
	 * @return the price
	 */
	public double getPrice() {
		return price;
	}
	/**
	 * @param price the price to set
	 */
	public void setPrice(double price) {
		this.price = price;
	}
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	/**
	 * @return the status
	 */
	public int getStatus() {
		return status;
	}
	/**
	 * @param status the status to set
	 */
	public void setStatus(int status) {
		this.status = status;
	}
	
	
}
